package com.cartoon.controller;

import com.cartoon.entity.Image;
import com.cartoon.service.ImageService;
import com.cartoon.util.ResponseData;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (Image)表控制层
 *
 * @author makejava
 * @since 2021-12-10 11:28:08
 */
@RestController
@RequestMapping("image")
public class ImageController {
    /**
     * 服务对象
     */
    @Resource
    private ImageService imageService;
   @GetMapping("getImageInfo")
   public ResponseData getImageInfo(String imageType){
       return imageService.getImageInfo(imageType);
   }
}

